#**************************************************************************
#*********************---------------------------------**********************
#********************|    Copyright (c) 2003 - 2022    |*********************
#********************|      by VIRE Technologies.        |*********************
#********************|       All Rights Reserved           |*********************
#*********************---------------------------------**********************
#**************************************************************************
#
# If any question, please write to VIRE Technologies for
# more information:
#			Techart Plaza, A16, No.30 XueYuan Road,
#			Haidian District Beijing 100083,
#			P.R. China
#
# For more, please visit company website: www.vire.cn
#**************************************************************************
#
# WSF CMake Configuration
#
# This file creates the mission executable

#获得当前目标的名字
COMMON_GET_CUR_DIR_NAME(target_name)

if (MSVC)
   add_compile_options(-wd4251 -wd4286 -wd4275 -wd4828)
endif()

file(GLOB_RECURSE srcs *.cpp *.h *.hpp)

include_directories(${CMAKE_BINARY_DIR}/include 
   ${CMAKE_CURRENT_SOURCE_DIR}  
)

add_executable(${target_name} 
   ${srcs}
 )

set_property(TARGET ${target_name} PROPERTY 
   FOLDER "examples/library_example/app"
)

#此处是链接外部目标库
target_link_libraries(${target_name} static_library_target)


